package com.fj.provider.demos.service;

import com.fj.provider.api.dto.UserModel;
import com.fj.provider.api.service.UserService;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author fj
 * @date 2024/3/7 17:55
 */
@RestController
public class UserServiceImpl implements UserService {
    @Override
    public UserModel getUser(Long id) {
        System.out.println("call method");
        return new UserModel(id, "zhangsan");
    }
}
